<template>
	<view class="privateContainer">
		<!-- 引入头部 -->
		<Header :num="num"></Header>
		<view class="header">
			<view class="search">
				<u-search :show-action="false" placeholder="请输入货物名称/装卸货地点/线路搜索" shape="square" v-model="keyword"></u-search>
			</view>
			<view class="headerRight">
				<image src="../../static/goodsSort.png" mode=""></image>
			</view>
		</view>
		没有更多了
	</view>
</template>

<script>
	import Header from '../components/Header/Header'
	export default {
		components:{
			Header
		},
		data() {
			return {
				keyword:"",
				num:""
			};
		},
		onLoad(num){
			// 接受header传过来的控制高亮的参数
			this.num = num.selected
		},
		methods: {}
	};
</script>

<style lang="scss">
	.privateContainer{
		.header{
			height: 110rpx;
			background-color: #fff;
			.search{
				float: left;
				margin: 20rpx;
				width: 84%;
			}
			.headerRight{
				height: 50rpx;
				width: 50rpx;
				float: right;
				margin-top: 20rpx;
				margin-right: 20rpx;
				image{
					height: 100%;
					width: 100%;
				}
			}
		}	
	}
</style>
